import groovy.xml.*
import pe.org.manuela.web.factories.*
import pe.org.manuela.web.despachadores.*

def conn = ConnectionPool.obtenerConexion()
def data = InsumoDespachador.modificarInsumo(conn, params)

response.contentType = "text/xml"
response.characterEncoding = "ISO-8859-1"

def sw = new StringWriter()
def xml = new MarkupBuilder(sw)

xml.success(true)

println sw

